#ifndef PLAYERPARAM_H
#define PLAYERPARAM_H

//STATIC
//PlayerParameters

#include <string>

using namespace std;

#define M_PLAYER 0
#define M_TRAINER 1


class PlayerParam
{
    string M_TEAM_NAME;
    bool M_CONNECTED;

    int side;
    int uNum;
    int mainType;

public:

    void setTeamName(string s) { M_TEAM_NAME = s; }
    string getTeamName() { return M_TEAM_NAME; }

    void setConnected(bool s) { M_CONNECTED = s; }
    bool isConnected() { return M_CONNECTED; }

    void setSide(int s) { side = s; }
    int getSide() { return side; }

    void setNum(int s) { uNum = s; }
    int getNum() { return uNum; }

    void setPlayerType(int mainType) { this->mainType = mainType; }
    int getPlayerType() { return mainType; }

    static PlayerParam & instance();
    void init(int, char**);
};

#endif // PLAYERPARAM_H
